package com.mdd.admin.validate.yylq;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import java.io.Serializable;
import javax.validation.constraints.*;

@Data
@ApiModel("企业融资创建参数")
public class TAppCorporateFinanceCreateValidate implements Serializable {

    private static final long serialVersionUID = 1L;

    @NotNull(message = "brandPic参数缺失")
    @ApiModelProperty(value = "品牌图标地址")
    private String brandPic;

    @NotNull(message = "name参数缺失")
    @ApiModelProperty(value = "品牌/产品名称")
    private String name;

    @NotNull(message = "maxLimit参数缺失")
    @ApiModelProperty(value = "最高额度（万元）")
    private Integer maxLimit;

    @NotNull(message = "maxPeriods参数缺失")
    @ApiModelProperty(value = "最高期数")
    private Integer maxPeriods;

    @NotNull(message = "annualizedInterestRate参数缺失")
    @ApiModelProperty(value = "年化利率（0.12，展示百分比的时候乘以100）")
    private Double annualizedInterestRate;

    @NotNull(message = "type参数缺失")
    @ApiModelProperty(value = "类型（1：税贷；2：发票贷；3：其他；）")
    private Integer type;

    @NotNull(message = "creditTerm参数缺失")
    @ApiModelProperty(value = "授信期限")
    private String creditTerm;

    @NotNull(message = "repaymentMethod参数缺失")
    @ApiModelProperty(value = "还款方式")
    private String repaymentMethod;

    @NotNull(message = "provinceCode参数缺失")
    @ApiModelProperty(value = "省")
    private String provinceCode;

    @NotNull(message = "provinceName参数缺失")
    @ApiModelProperty(value = "")
    private String provinceName;

    @NotNull(message = "cityCode参数缺失")
    @ApiModelProperty(value = "市")
    private String cityCode;

    @NotNull(message = "cityName参数缺失")
    @ApiModelProperty(value = "")
    private String cityName;

    @NotNull(message = "areaCode参数缺失")
    @ApiModelProperty(value = "区")
    private String areaCode;

    @NotNull(message = "areaName参数缺失")
    @ApiModelProperty(value = "")
    private String areaName;

    @NotNull(message = "applicationRequirements参数缺失")
    @ApiModelProperty(value = "申请条件")
    private String applicationRequirements;

    @ApiModelProperty(value = "")
    private Integer sort;

}
